import 'package:flutter/material.dart';
import '../model/category_goods_list.dart';

class CategoryGoodsListProvide with ChangeNotifier {
  List<CategoryGoodsInfo> categoryGoodsList = [];

  setCategoryGoodsList(List<CategoryGoodsInfo> list) {
    categoryGoodsList = list;
    notifyListeners();
  }

  addCategoryGoodsList(List<CategoryGoodsInfo> list) {
    categoryGoodsList.addAll(list);
    notifyListeners();
  }
}
